package cn.lingyangwl.agile.food.core.assembly;

import cn.lingyangwl.agile.food.model.entity.StockDocument;
import cn.lingyangwl.agile.food.model.rqrs.sku.SkuInOutRecordResp;
import cn.lingyangwl.agile.food.model.rqrs.sku.SkuInOutRecordSaveReq;
import cn.lingyangwl.agile.food.model.rqrs.sku.SkuInOutRecordUpdateReq;
import org.mapstruct.Mapper;

/**
 * 库存单据
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface StockDocumentAssembly {
  SkuInOutRecordResp toSkuStockInOutRecordResp(StockDocument source);
  
  StockDocument toSkuStockInOutRecord(SkuInOutRecordSaveReq source);

  StockDocument toSkuStockInOutRecord(SkuInOutRecordUpdateReq source);
}
